package com.ganwei.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author 26782
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_Ok(Integer id) {
        return "------PaymentFallbackService fall back-paymentInfo_Ok";
    }

    @Override
    public String paymentinfo_TimeOut(Integer id) {
        return "-----PaymentFallBackService fall back-paymentInfo_timeOut";
    }
}
